﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SchoolManagement.Forms
{
    public partial class Plantillas : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Session["IsDataNeeded"] = false;
        }

        protected void LinqDataSourcePlanilla_Load(object sender, EventArgs e)
        {

        }

        protected void generarReporteAllCursos_Click(object sender, EventArgs e)
        {

        }

        protected void generarReporte_Click(object sender, EventArgs e)
        {

        }


        protected void ButtonBuscar_Click(object sender, EventArgs e)
        {
            if (!CheckBoxFiltrarAsignatura.Checked &&
                !CheckBoxFiltrarCurso.Checked &&
                !CheckBoxFiltrarDocente.Checked &&
            !CheckBoxFiltrarEstudiante.Checked)
                Session["IsDataNeeded"] = false;
            else
                Session["IsDataNeeded"] = true;

        }

        protected void CheckBoxFiltrarCurso_CheckedChanged(object sender, EventArgs e)
        {

        }

        protected void DropDownListCurso_SelectedIndexChanged(object sender, EventArgs e)
        {
            //LinqDataSourceAsig.DataBind();
            //CheckBoxFiltrarAsignatura.DataBind();
        }



    }
}
